<html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
        <title><?php echo $title_for_layout ?></title>

        <?php
        echo $html->css(array(
            'admin_css/reset',
            'admin_css/text',
            'admin_css/fonts/ptsans/stylesheet',
            'admin_css/fluid',
            'admin_css/mws.style',
            'admin_css/icons/icons',
            'admin_css/demo',
            'admin_css/jui/jquery.ui',
            'admin_css/mws.theme',
            'plugins/colorpicker/colorpicker',
            'plugins/jimgareaselect/css/imgareaselect-default',
            'plugins/fullcalendar/fullcalendar',
            'plugins/fullcalendar/fullcalendar.print',
            'plugins/tipsy/tipsy',
            'plugins/sourcerer/Sourcerer-1.2',
            'plugins/jgrowl/jquery.jgrowl',
            'plugins/spinner/spinner')
        );
        ?>
<?php echo $scripts_for_layout; ?>
    </head> 
    <body> 
        <div class="flashing">

            <?php
            if ($session->check('Message.auth')) {
                ?>
                <div class="mws-form-message error">
                    <?php
                    echo $this->Session->flash('auth');
                    ?>
                </div>

                <?php
            }
            ?>
        </div>

<?php echo $content_for_layout ?> 

    </body> 
</html>
